﻿using OAS.Application.System.Dtos;
using OAS.Application.UserApp.Dtos;
using OAS.Core;

namespace OAS.Application;

public interface IUserService
{
    Task<List<User>> GetAllUser();
    Task<List<User>> GetAllUserByDepartment();
    Task<object> GetUserList(DtoQuery dto);
    DtoUserInfo GetUserInfo(string userName);
    Task AddNewUser(User user);
    Task UpdateUser(User user);
    Task DeleteUser(string[] ids);
    Task PasswordChange(DtoPwd dto);
    string MD5Encrypt64(string password);
}
